package io.github.talelin.latticy.common.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @authoer:wulongbo
 * @createDate:2022/6/28
 * @description:
 */
@AllArgsConstructor
@Getter
public enum SizeEnum {

    /**
     * 无效值
     */
    NULL(0, "无效值"),

    /**
     * CBM
     */
    CBM (1, "CBM "),


    /**
     * CBF
     */
    CBF(2, "CBF");


    @EnumValue
    private Integer size;

    @JsonValue    //标记响应json值
    private String sizeDesc;
}
